/**
 * 
 */
package gameEngine;

import java.awt.GridLayout;

import java.util.Observer;
import java.util.Observable;

import javax.swing.BorderFactory;
import javax.swing.JPanel;


/**
 * @author ideus
 *
 */
public class ViewSon extends JPanel implements Observer {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -981668018393598878L;
	private Observer observer;

	public ViewSon() {
		super();
		//this.setBorder(BorderFactory.createEtchedBorder());
		//BorderFactory.createBevelBorder(2);
	}
	
	public ViewSon(GridLayout l) {
		super(l);
		this.setBorder(BorderFactory.createEtchedBorder());
	}
	
	@Override
	public void update(Observable obs, Object obj) {
		observer.update(obs,obj);
		
	}

}
